package remote;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

/**
 * Idem as Public interface but allow user actions
 *
 */
public interface PrivateInterface extends Remote {
	void deconnexion() throws RemoteException;
	
	void tweeter(Tweet t) throws RemoteException;

	void follow(String pseudo) throws RemoteException;
	
	List<Tweet> getPendingMessage() throws RemoteException;
	
	List<String> getUsers() throws RemoteException;
}
